.include "xc.inc"    
    
.global _BOOTLOADER_SOFTWARE_RESET
.global _BOOTLOADER_GOTO_8000
.global _BOOTLOADER_GOTO_0000

.section .text

 ;**************************
 ; Software Reset
 ;**************************
_BOOTLOADER_SOFTWARE_RESET:
	RESET
	RETURN
	
	
;**************************
 ; GOTO Application Start address
 ;**************************
_BOOTLOADER_GOTO_8000:
	MOV	#0x8000,W0
	GOTO	W0
	RETURN


;**************************
 ; GOTO Flash Start address
 ;**************************
_BOOTLOADER_GOTO_0000:
	MOV	#0x0000,W0
	GOTO	W0
	RETURN
	